home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / t_sys5 / 92052tar.gz / 920528.tar / files.h < prev    next >
C/C++ Source or Header  |  1991-06-18  |  2KB  |  47 lines

  1. /* @(#) $Header: files.h,v 1.4 91/06/18 17:26:49 deyke Exp $ */
  2.  
  3. #ifndef _FILES_H
  4. #define _FILES_H
  5.  
  6. /* Permission bits in FTPUSERS file */
  7. #define FTP_READ        1       /* Read files */
  8. #define FTP_CREATE      2       /* Create new files */
  9. #define FTP_WRITE       4       /* Overwrite or delete existing files */
  10. #define AX25_CMD        8       /* AX.25 gateway operation allowed */
  11. #define TELNET_CMD      16      /* Telnet gateway operation allowed */
  12. #define NETROM_CMD      32      /* NET/ROM gateway operation allowed */
  13. #define SYSOP_CMD       64      /* Remote sysop access allowed */
  14. #define EXCLUDED_CMD    128     /* This user is banned from the BBS */
  15. #define PPP_ACCESS_PRIV 0x0100  /* Priv bit for PPP connection */
  16. #define PPP_PWD_LOOKUP  0x0200  /* Priv bit for peerID/pass lookup */
  17.  
  18. /* External definitions for configuration-dependent file names set in
  19.  * files.c
  20.  */
  21. extern char *Startup;   /* Initialization file */
  22. extern char *Userfile;  /* Authorized FTP users and passwords */
  23. extern char *Maillog;   /* mail log */
  24. extern char *Mailspool; /* Incoming mail */
  25. extern char *Mailqdir;  /* Outgoing mail spool */
  26. extern char *Mailqueue; /* Outgoing mail work files */
  27. extern char *Routeqdir; /* queue for router */
  28. extern char *Alias;     /* the alias file */
  29. extern char *Dfile;     /* Domain cache */
  30. extern char *Fdir;      /* Finger info directory */
  31. extern char *Arealist;          /* List of message areas */
  32. extern char *Helpdir;           /* Mailbox help file directory */
  33. extern char *Rewritefile;       /* Address rewrite file */
  34. extern char *Newsdir;           /* News messages and NNTP data */
  35. extern char *Popusers;          /* POP2 user and passwd file */
  36. extern char *Signature;         /* Mail signature file directory */
  37. extern char *Forwardfile;       /* Mail forwarding file */
  38. extern char *Historyfile;       /* Message ID history file */
  39.  
  40. void initroot __ARGS((char *root));
  41. char *rootdircat __ARGS((char *filename));
  42. int userlogin __ARGS((char *name,char *pass,char **path,int len,int *pwdignore));
  43. char *userlookup __ARGS((char *username, char **password, char **directory,
  44.             int *permission, int32 *ip_address));
  45.  
  46. #endif  /* _FILES_H */
  47.